{% extends "base.html" %}

{% block content %}

    <div class="link_content">
    {% for link in links %}
      <div><a href="/visit?key={{ link.key }}" class="link_out">{{ link.title }}</a> - <a href="/view?key={{ link.key }}">Detaljer</a></div>
      <div class="link_details">{{ link.url }} - {{ link.hits }} treff - {{ link.comments.count }} kommentarer</div>
      <div class="link_desc">
	{% if link.description %}
	  {{ link.description }}
	{% else %}
	  <em>Ingen beskrivelse</em>
        {% endif %}
      </div>
      <div class="link_date">Lagt til: {{ link.date }}</div>
      <p />
    {% endfor %}
    </div>

{% endblock %}
